import request from "../../request.js";
//注册账号
function register(data){
	return request({
		url:"/lejuClient/member/register",
		data:data,
		method:"post"
	})
}
//重置密码
function resetPassword(username,data){
	return request({
		url:`/lejuClient/member/resetPassword/${username}`,
		data:data,
		method:"post"
	})
}
//更新用户信息
function updateMemberInfo(data){
	return request({
		url:"/lejuClient/member/updateMemberInfo",
		data:data,
		method:"post"
	})
}
//更改密码
function updatePassword(data){
	return request({
		url:"/lejuClient/member/updatePassword",
		data:data,
		method:"post"
	})
}
export{
	register,resetPassword,updateMemberInfo,updatePassword
}
